<?php

namespace App\Http\Resources;

use Illuminate\Http\Resources\Json\Resource;

class SchoolDetail extends Resource
{
    /**
     * Transform the resource into an array.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return array
     */
    public function toArray($request)
    {       
        return [
            'id' => $this->id,
            'aid_p' => $this->aid_p,
            'aid_c' => $this->aid_c,
            'aid_a' => $this->aid_a,
            'store_name' =>$this->store_name,
            'store_detail' =>$this->store_detail,
            'create_user' =>$this->create_user,
            'update_user' =>$this->update_user,
            'status' =>$this->status,
            'created_at' =>$this->created_at,
            'updated_at' =>$this->updated_at,
        ];
    }
}
